package com.lesserpand.lspand.story.item.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author bailuo
 * @version 2.0
 * @Description TODO
 * @Date Created in 2018/11/24 17:11
 */
@Data
public class NewInfoQuery {

    /**
     * 当前页码
     */
    @ApiModelProperty(name = "pageNum", value = "当前页码")
    private Integer pageNum = 1;

    /**
     * 每页大小
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小")
    private Integer pageSize = 10;

    /**
     * 排序字段
     */
    @ApiModelProperty(name = "orderBy", value = "排序字段")
    private String orderBy;

    /**
     * 排序方式
     */
    @ApiModelProperty(name = "orderType", value = "排序方式")
    private String orderType;

    /**
     * 标题
     */
    @ApiModelProperty(name = "title", value = "标题")
    private String title;

    /**
     * 关键字
     */
    @ApiModelProperty(name = "keyWord", value = "关键字")
    private String keyWord;

    private Timestamp startTime;
    private Timestamp endTime;
}
